package controller;
import model.QRCode;
import MainFrame;


public class Controller {
	
	public static void main(String[] args) {
		try {
			MainFrame frame = new MainFrame();
			frame.setVisible(true);
		} catch (Exception e) {
			System.out.println("Error : Could not run the application");
		}
	}
	
	public static void generateQR(String url, String name, String path, String extension, int size, int errorCorrection, boolean shortenURL){
		QRCode.generateQRCode(url, name, path, extension, size, errorCorrection, shortenURL);
	}

}
